package cn.wolfcode.crm.serivce;

import cn.wolfcode.crm.domain.Gift;
import cn.wolfcode.crm.query.GiftQueryObject;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IGiftService {
    void deleteByPrimaryKey(Long id);
    void saveOrUpdate(Gift record);
    Gift selectByPrimaryKey(Long id);
    PageResult query(GiftQueryObject qo);
    List<Gift> selectAll();

    void updatePoint(Gift gift);

    List<Gift> recordGift();
}
